# @Name:urls
# @author:22326
# @Description:
# @DATE:2022/6/29 16:29
# @Modified By:

from django.urls import path,re_path
from . import views

urlpatterns = [
    path('',views.IndexView.as_view(),name='index'),
    re_path('^list/(?P<channel_id>\d+)/(?P<page_num>\d+)/$',views.IndexView.as_view(),name='news_list'),
    re_path('^detail/(?P<article_id>\d+)/$',views.DetailView.as_view()),
]